package day3.Bum2.Bum;

/**
 * ClassName：TestBUm
 *
 * @Author：小鱼
 * @Create：2025-08-20 14:04
 */
public class TestBUm {
    public static void main(String[] args) {
        //包子对象
        Bum bum = new Bum();
        //生产者的线程

        Thread t1 = new Producer("包子店老板", bum);
        //消费者线程
        Thread t2 = new Customer("打工人小张", bum);
        Thread t3 = new Customer("打工人小王", bum);

        t1.start();
        t2.start();
        t3.start();
    }
}
